Skip to content

Conversation

@cojdev
Copy link
Contributor

@cojdev cojdev commented Jan 13, 2025

RELATED TICKETS

CHANGELOG

  • when an error is returned from a search_base request, an exception is now raised with that error.

TESTS

  • tested locally

COMMENTS

  • any other business


total = self._calculate_total(probe_response)

print(probe_response)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure about this print here? For large responses, it could add significant performance overhead and make the logs unreadable. What if you log just the total number of records instead, response time and so? I think that info is more usable in most of the cases

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, that's actually leftover from debugging, I'll remove it

@cojdev cojdev added echoes/intent: tech-debt echoes/effort: XS Very low effort changes (M * 0.2) labels Jan 14, 2025
@sonarqubecloud
Copy link

@cojdev cojdev enabled auto-merge January 14, 2025 10:51
@cojdev cojdev merged commit 0fbf271 into master Jan 14, 2025
12 of 14 checks passed
@cojdev cojdev deleted the rnd-11798 branch January 14, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

echoes/effort: XS Very low effort changes (M * 0.2) echoes/intent: tech-debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants